package com.twu.biblioteca;

import java.util.Scanner;


public class BookLibrary {

        Librarian librarian = new Librarian();



        public String DisplayUserOptions(int choice){

            String[] userOptions =  {"1. Display List of Books", "2. Issue a book", "3. Return a book", "4. Exit"};
            String userSelected;
            //Scanner sc =new Scanner(System.in);
            //sc.nextInt(choice);
            switch (choice)
            {
                case 1 : userSelected = userOptions[0] ;
                    break;
                case 2: userSelected =  userOptions[1];
                    break;
                case 3: userSelected =  userOptions[2];
                    break;
                case 4: userSelected =  userOptions[3];
                    break;
                default: userSelected =  "Select a valid option!";

            }

    return userSelected;

        }

    }


